package com.zp.business.entity.infusion.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.core.entity.BaseEntity;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 输液室登记项目视图对象
 *
 * @author zhang peng
 * @ date 2025-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ExcelIgnoreUnannotated
public class InfusionItemVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String infusionItemId;

    /**
     * 登记主表ID
     */
    @ExcelProperty(value = "登记主表ID")
    private String registerId;

    /**
     * 组号
     */
    @ExcelProperty(value = "组号")
    private Integer groupNumber;

    /**
     * 处方项目ID
     */
    @ExcelProperty(value = "处方项目ID")
    private String itemId;

    /**
     * 输液次数
     */
    @ExcelProperty(value = "输液次数")
    private Integer infusionNumber;

    /**
     * 输液天数
     */
    @ExcelProperty(value = "输液天数")
    private Integer infusionDay;

    /**
     * 瓶签二维码
     */
    @ExcelProperty(value = "瓶签二维码")
    private String labelCode;

    /**
     * 皮试人
     */
    @ExcelProperty(value = "皮试人")
    private String skinNurse;

    /**
     * 皮试时间
     */
    @ExcelProperty(value = "皮试时间")
    private Date skinTime;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Integer sort;

    /**
     * 机构ID
     */
    @ExcelProperty(value = "机构ID")
    private String orgId;


    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;

    /**
     * 皮试人姓名
     */
    @ExcelProperty(value = "皮试人姓名")
    private String skinNurseName;

    /**
     * 机构名称
     */
    @ExcelProperty(value = "机构名称")
    private String orgName;

    /**
     * 创建人姓名
     */
    @ExcelProperty(value = "创建人姓名")
    private String createByName;

    /**
     * 更新人姓名
     */
    @ExcelProperty(value = "更新人姓名")
    private String updateByName;

    /**
     * 操作状态
     */
    @ExcelProperty(value = "操作状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "infusion_operator_type")
    private String operatorType;

    /**
     * 操作状态名称
     */
    @ExcelProperty(value = "操作状态名称")
    private String operatorTypeName;


}
